<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //扩展运算符可以将数组或者对象转为用逗号分隔得参数序列
        let ary = [1,2,3];
        console.log(...ary);
        let ary1 = ["a","b","c"];
        console.log(...ary1);
    </script>
</body>
</html>